package com.qztc.hire_end_dto.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@TableName("member")
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "会员等级信息")
public class Member extends Model<Member> implements Serializable {
    @Schema(title = "会员等级id")
    @TableId(value = "member_id")
    private int memberId;

    @Schema(title = "会员等级名称（如：青铜会员、白银会员等）")
    @TableField(value = "member_levelname")
    private String memberLevelName;

    @Schema(title = "会员等级描述（如：等级权益概述）")
    @TableField(value = "member_leveldescribe")
    private String memberLevelDescribe;
}